<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/oa/contract.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryContractForm');
			queryContract_contract(page);
		}
	});
});
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/modeltype_entity.ftl" as mte>
<form id="queryContractForm">
<table class="search_term_table">
	<tr><th style="width:60px;">名称</th>
		<td><input class="form-control" type="text" name="name" style="width:150px;"/></td>
		<th style="width:60px;">创建人</th>
		<td><input class="form-control" type="text" name="cu" style="width:150px;"/></td>
		<th style="width:60px;">合同类别</th>
		<td><input class="form-control" type="text" name="tname" style="width:150px;"/></td>
		<td style="text-align:right;">
		<button class="btn btn-info" onclick="javascript:queryContract_contract(); return false;"><i class="icon-search"></i> 查 询 </button>
		<button class="btn btn-success" onclick="javascript:sys_load_handle('contract-edit_${(contract.code)!''}'); return false;"><i class="icon-file"></i> 添加合同</button>
		</td>
	</tr>
</table>
</form>
<div id="contractResultList"></div>
